﻿#pragma once

#include "OCGIS/GDALCPP.h"

using namespace OCPP;

void testGDAL()
{
	const String hexWkb = "01060000000100000001030000000100000019000000D05492AC6D765A40601662C5D4AD3940201065DF9C765A4020D2B43938AD394058604CACB4765A40A059C86317AD3940A0AF4582F9765A40F02587EDD3AC394048F2DED8FC765A40B0C57F84D0AC3940D89E272A00775A403067D2D9CCAC3940EC24BF7503775A40E0EAF2EDC8AC3940880E42BB06775A4090774DC1C4AC3940344AAE600A775A40E0E3C2C3BFAC39409CA76AFD0D775A404003C975BAAC3940B8853FEC36775A4030997D467CAC3940A83D4D827F775A407094065B0EAC3940ECBA75E881775A4090E9F9A30AAC39405826584A84775A40C08170C906AC394058F1CBA786775A4060C0B3CB02AC3940F872AB0089775A40A07201ABFEAB39407425CD548B775A40001F9F67FAAB394018570CA48D775A40504CD201F6AB3940487940EE8F775A409017EC79F1AB3940E8EB423392775A40800732D0ECAB3940D8968E4395775A40206C063DE6AB3940803B894998775A4020203C6CDFAB3940E837D4449B775A405094A75ED8AB39407CD812359E775A4020F32415D1AB3940D05492AC6D765A40601662C5D4AD3940";
	Geometry geom = Geometry::createFromWkb(hexWkb);
	OCPP_LOG_INFO << geom.exportToWkt() << "\n";
}